package panda.syntax;

import java.util.ArrayList;
import panda.query.condition.Sentence;
import panda.query.condition.Sentence;
import panda.record.TableToken;

public class UpdateStm extends Statement{
	public String tableName;
	public ArrayList<SetValue> setValueList;
	public Sentence whereCondition;
	public TableToken token;
	
	public UpdateStm(String n, ArrayList<SetValue> l) {
		tableName=n;
		setValueList=l;
		whereCondition=null;
	}
	
	public UpdateStm(String n, ArrayList<SetValue> l, Sentence s) {
		tableName=n;
		setValueList=l;
		whereCondition=s;
	}
}
